fix select card order issues. use array.sort instead of underscore.sortby