I find when use gsort var, when var has some duplicates of obervation, the order after gsorting are not stable. How to make it stable?