Remove redundant sortBy function call

Signed-off-by: Gary Pamparà <gpampara@gmail.com>