added version sorting