Added calls to sorting functions
WTF