Wrong sort order, reverse array when sending