Ruddy turnstone but it feeds mainly on invertebrates. Insects are particularly important in the breeding season. At other times it also takes crustaceans, molluscs and worms. It often flips over stones and other objects to get at prey items hiding underneath; this behaviour is the origin of the name "turnstone". It usually forages in flocks. They have also been observed preying on the eggs of other bird species such as gulls, terns, ducks, and even other turnstones, though this behaviour is uncommon. In the majority of observed cases, turnstones typically go after undefended or unattended nests, puncturing the shells with their beaks
Merge sort to insertion sort when fewer than seven array elements are being sorted. The Linux kernel uses merge sort for its linked lists. Python uses Timsort, another tuned hybrid of merge sort and insertion sort, that has become the standard sort algorithm in Java SE 7 (for arrays of non-primitive types), on the Android platform, and in GNU Octave. Merge sort In computer science, merge sort (also commonly spelled mergesort) is an efficient, general-purpose, comparison-based sorting algorithm. Most implementations produce a stable sort, which means that the order of equal elements is the same in the input and output. Merge sort