fix var reference while sorting Parse result
extract common functionality of setting dropping hint while dropping file into browser