fix the sorting algorithm for live-updating elements
fix the sorting algorithm for live-updating elements

mathiasbynens/hyperspace,mdarens/hyperspace,kidaa/hyperspace,kidaa/hyperspace,substack/hyperspace,mdarens/hyperspace,mathiasbynens/hyperspace,mdarens/hyperspace,substack/hyperspace,kidaa/hyperspace