Thanks!

• ###### hobovskycommented on "Order of weight" kata

Should be fixed, could you please verify?

done

• ###### user9644768created a suggestion for "Order of weight" kata

Ruby 3.0 should be enabled.

• ###### ejini战神created an issue for "Order of weight" kata
• The reference solution is wrong for Crystal
``````Expected: ["50G", "100G", "150G", "170G", "410G", "2700G", "71000G", "75000G", "97000G", "100000G", "500KG", "500KG", "5700KG", "10T", "9200T", "5000T", "9500T"]
got: ["50G", "100G", "150G", "170G", "410G", "2700G", "71000G", "75000G", "97000G", "100000G", "500KG", "500KG", "5700KG", "10T", "5000T", "9200T", "9500T"]
``````
• Crystal 1.0 should be enabled (as stated in this list)
• ###### farhanadityacommented on "Order of weight" kata

I like this kata.

• ###### jamadcommented on "Order of weight" kata

I also got the random test to compare `'100T'` and ` '100000KG'` while the sorting order was not specified.

• ###### solomonhumecommented on "Order of weight" kata

For python, if two items have equal weight, this kata only accept 1 ton is heavier than 1000KG, while 1KG is lighter than 1000 grams, which does not make sense.

• ###### Avantacommented on "Order of weight" kata

1g * 1000 = 1Kg
1Kg * 1000 = 1T
so 1g * 1,000,000 = 1T

2950Kg < 3T < 3000001g

• ###### Hari Naiducommented on "Order of weight" kata

Isn't the below expected result incorrect
Shouldn't it be G, followed by KG and than T
My code is returning the value in the left but test is expecting the answer as it is in the right

['3000001G', '2950KG', '3T'] should equal ['2950KG', '3T', '3000001G']

• ###### WillLearncommented on "Order of weight" kata

(Ruby) When the weights are the same ie: "30KG", "30000G", "30KG" only the order that starts with KG is accepted: "30KG", "30KG", "30000G".
Also "90000G", "90KG" is not acceptable, but "90KG", "90000G" is.

• ###### GiacomoSorbicommented on "Order of weight" kata

You are right; my bad for not clarifying that I was referring to my translations in other languages.

• ###### JohanWiltinkcommented on "Order of weight" kata

Let's face it, JavaScript native `sort` modifies its input. :/

In general, I agree with you. You don't want it to crash randomly though, you want clear messaging that modifying input is failing tests, and that can be more work than it's worth, for a white kata.