Added handle option

-Removed sort functionality dependency