Correct sort implemenation
Added version option
Version bump