File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 495
495
- [ Sort an array by value and index] ( sort-an-array-by-value-and-index " 58e0cb3634a3027180000040 ")
496
496
- [ Sort arrays - 1] ( sort-arrays-1 " 51f41b98e8f176e70d0002a8 ")
497
497
- [ Sort by binary ones] ( sort-by-binary-ones " 59eb28fb0a2bffafbb0000d6 ")
498
+ - [ Sort by Last Char] ( sort-by-last-char " 57eba158e8ca2c8aba0002a0 ")
498
499
- [ Sort deck of cards] ( sort-deck-of-cards " 56f399b59821793533000683 ")
499
500
- [ Sort Out The Men From Boys] ( sort-out-the-men-from-boys-1 " 5af15a37de4c7f223e00012d ")
500
501
- [ Sort the Gift Code] ( sort-the-gift-code " 52aeb2f3ad0e952f560005d3 ")
Original file line number Diff line number Diff line change
1
+ # [ Sort by Last Char] ( https://www.codewars.com/kata/sort-by-last-char " https://www.codewars.com/kata/57eba158e8ca2c8aba0002a0 ")
2
+
3
+ Given a string of words (x), you need to return an array of the words, sorted alphabetically by the final character in each.
4
+
5
+ If two words have the same last letter, the returned array should show them in the order they appeared in the given string.
6
+
7
+ All inputs will be valid.
You can’t perform that action at this time.
0 commit comments