What order does Bitcoin core place the inputs it spends in? Is it random? Is it sorted by anything? What, if anything, can you tell about the originator of a transaction by the input ordering?
The order is defined by the coin selection (
CWallet::SelectCoinsMinConf) which does a random shuffle of the potential useful inputs and a stochastic approximation.