fixed typo
added a unnest function with ordering, from internet